package org.frog.sgs.consts;

/**
 * @author duanxiangqi
 * @date 2012-10-22
 */
public interface Constants {

	String SERVER_IP = "127.0.0.1";

	int SERVER_PORT = 14150;

	int SESSION_IDEL_TIME = 10;// session空闲时间超过时断开连接 秒数

	int CLIENT_TOUCH_TIME = 5 * 1000;// 客户端定时检测时间 毫秒数

	int CLIENT_TIMEOUT = 5000;

	int CLIENT_SESSION_BUFFER_SIZE = 1024 * 1024;

	int SERVER_SESSION_BUFFER_SIZE = 1024 * 1024 * 10;

	String SESSION_KEY_CHARACTER = "session.key.character";

	String SESSION_KEY_TEMP_MSG = "session.key.temp.msg";

	String SESSION_KEY_TEMP_BYTES = "session.key.temp.bytes";
}
